package com.techfort.testguice;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;
import android.widget.TabHost.TabSpec;

public class Manage extends TabActivity {

	 TabHost tabhost;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.tabhost);
		TabHost tabhost = (TabHost)findViewById(android.R.id.tabhost);
		
		
		TabSpec fav = tabhost.newTabSpec("Favourites");
		TabSpec bookmarks = tabhost.newTabSpec("Bookmarks");
		
		fav.setIndicator("Favourites").setContent(new Intent(this, Favourites.class));
		bookmarks.setIndicator("Bookmarks").setContent(new Intent(this, Bookmarks.class));
		
		tabhost.addTab(fav);
		tabhost.addTab(bookmarks);
		
		
	}
}
